[NET] back: Replace netif->active with netif_carrier_ok
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 27 Jul 2006 12:52:02 +0000 (13:52 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 27 Jul 2006 12:52:02 +0000 (13:52 +0100)
commite91cb0ab6f2a5c8939aa24235003cc40cb6797e0
tree0d46256caba110f23ecdb129c49f63490f030639
parent8fd94b35bf87f80ff615f62d3b2f4140162eba93
[NET] back: Replace netif->active with netif_carrier_ok

The connection status to the frontend can be represented using
netif_carrier_ok instead of netif->active.  As a result, we delay
the construction of the dev qdisc until the carrier comes on.  This
is a prerequisite for adding a tx queue.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
linux-2.6-xen-sparse/drivers/xen/netback/common.h
linux-2.6-xen-sparse/drivers/xen/netback/interface.c
linux-2.6-xen-sparse/drivers/xen/netback/netback.c